<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>flex 弹性盒子</title>
    <style>
        .container{
            /* display: flex; */
            background-color: aqua;
        }
        html{
            font-size: 10px;
        }
        .item{
            width: 20rem;
            font-size: 5rem;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="item" style="background-color: yellowgreen;">1</div>
        <div class="item" style="background-color: red;">2</div>
        <div class="item" style="background-color: gray;">3</div>
        <div class="item" style="background-color: gold;">4</div>
        <div class="item" style="background-color: brown;">5</div>
        <div class="item" style="background-color: #4aa;">6</div>
    </div>
</body>
</html>